home *** CD-ROM | disk | FTP | other *** search
- IFND FILES_SEGMENTS_I
- FILES_SEGMENTS_I SET 1
-
- **
- ** $VER: segments.i V1.0
- **
- ** Segment Definitions.
- **
- ** (C) Copyright 1996-1998 DreamWorld Productions.
- ** All Rights Reserved
- **
-
- IFND DPKERNEL_I
- include 'dpkernel/dpkernel.i'
- ENDC
-
- ****************************************************************************
- * Segment object.
-
- SEGVERSION = 1
- TAGS_SEGMENT = (ID_SPCTAGS<<16)|ID_SEGMENT
-
- STRUCTURE SEG,HEAD_SIZEOF ;Standard header.
- APTR SEG_Prev ;Previous segment.
- APTR SEG_Next ;Next segment.
- LONG SEG_MemType ;Memory type (eg MEM_DATA).
- APTR SEG_Address ;Pointer to segment start.
- APTR SEG_Source ;Source of segment (NB: FileName only).
- WORD SEG_CPU ;The CPU type.
-
- SGA_Address = (TAPTR|SEG_Address)
- SGA_MemType = (TAPTR|SEG_MemType)
- SGA_Next = (TAPTR|SEG_Next)
- SGA_Prev = (TAPTR|SEG_Prev)
- SGA_Source = (TAPTR|SEG_Source)
-
- ENDC ;FILES_SEGMENTS_I
-
-